<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>js的外嵌式代码书写</title>
</head>
<body>
<!-- 引入外部的js文件-->
  <script src="./test.js"></script>
</body>
</html>